package com.xhu.water_supply.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.util.Date;
@Data
@Builder
public class OrderAddDTO {
    @ApiModelProperty(value = "编号", required = true)
    private Integer no;

    @ApiModelProperty(value = "送水员Id", required = true)
    private Integer workId;

    @ApiModelProperty(value = "日期", required = true)
    private String date;

    @ApiModelProperty(value = "客户Id", required = true)
    private Integer customerId;

    @ApiModelProperty(value = "数量", required = true)
    private Byte num;
}
